{{- if or .Params.math .Site.Params.math -}}
{{- $script := resources.Get "js/katex.js" | resources.Fingerprint -}}
<script defer src="{{ $script.Permalink }}" integrity="{{ $script.Data.Integrity }}" crossorigin="anonymous"></script>
{{- end -}}
